﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DTO;
using ModuleDALCore;

namespace DAL
{
	public class CT_SMSDAO:DALBase
	{
		public CT_SMSDAO()
        {
            this.OpenConnect();
        }
        private DataTable dt;
        private string _SpName;

        public string SpName
        {
            get { return "SPCT_SMS"; }
            set { _SpName = value; }
        }
		public DataTable GETLISTCT(CT_SMS ct)
		{
			dt = new DataTable();
			try
			{
				dt = DBManager.Intance.ExecuteDataTable(SpName, ConvertClassToArray.GetParamName(ct, null), ConvertClassToArray.GetValues(ct, 0));
				return dt;
			}
			catch { return null; }
		}


	}
}
